#ifndef FRIENDINVENTATIONDIALOG_H
#define FRIENDINVENTATIONDIALOG_H

#include <QtGui/QDialog>
#include <QtGui/QAbstractButton>

namespace Ui {
    class FriendInventationDialog;
}

class FriendInventationDialog : public QDialog {
    Q_OBJECT
public:
    FriendInventationDialog(const quint32 &napplicant_uid, const QString &applicant_nickName, const QString &rMessage, QWidget *parent = 0);
    ~FriendInventationDialog();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::FriendInventationDialog *m_ui;
    quint32 applicant_uid;

signals:
    void acceptFriendInventation(const quint32 &applicant_uid);

private slots:
    void on_buttonBox_clicked(QAbstractButton* button);
};

#endif // FRIENDINVENTATIONDIALOG_H
